package com.sx.cms.biz.impl;

import java.util.List;

import org.apache.commons.logging.LogFactory;

import org.apache.commons.logging.Log;
import com.sx.cms.biz.IRegionBiz;
import com.sx.cms.dao.IRegionDao;
import com.sx.cms.entity.RegionEntity;
import com.sx.feesunit.exception.SXException;

public class RegionBiz implements IRegionBiz{

	private IRegionDao regiondao;
	private Log log = LogFactory.getLog(this.getClass());
	public List<RegionEntity> findRegionInfo(RegionEntity region) throws SXException{
		List<RegionEntity> list = null;
		try {
			list = regiondao.findRegionInfo(region);
		} catch (Exception e) {
			log.error("获取Region数据信息!",e);
		}
		return list;
	}

	/**
	 * @return the regiondao
	 */
	public IRegionDao getRegiondao() {
		return regiondao;
	}

	/**
	 * @param regiondao the regiondao to set
	 */
	public void setRegiondao(IRegionDao regiondao) {
		this.regiondao = regiondao;
	}
	
}
